<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>这是一个测试页面</title>
    <script type="text/javascript" src="js/nothing.js"></script>
</head>
<body>
<h1>测试成功</h1>
<img src="img/photo.jpg"><br/>

主机名2：<span th:text="${host}" ></span><br/>
ip：<span th:text="${ip}" ></span><br/>
session中的random值：<span th:text="${session.random}" ></span>
</body>
</html>